import request from '@/axios/request'
import url from '@/axios/url'
const { mesUrl } = url()

/**
 * 新增
 * @param data
 * @returns {*|Promise<*>}
 */
export function createDemandByStock(data = {}) {
  return request({
    url: `${mesUrl}mesTmMaterialDemand/createByStock`,
    method: 'post',
    data: data
  })
}

